import request from '@/utils/request'

// 查询标准化信息列表
export function listStandardization(query) {
  return request({
    url: '/supervision/standardization/list',
    method: 'get',
    params: query
  })
}

// 查询标准化信息详细
export function getStandardization(id) {
  return request({
    url: '/supervision/standardization/' + id,
    method: 'get'
  })
}

// 新增标准化信息
export function addStandardization(data) {
  return request({
    url: '/supervision/standardization',
    method: 'post',
    data: data
  })
}

// 修改标准化信息
export function updateStandardization(data) {
  return request({
    url: '/supervision/standardization',
    method: 'put',
    data: data
  })
}

// 删除标准化信息
export function delStandardization(id) {
  return request({
    url: '/supervision/standardization/' + id,
    method: 'delete'
  })
}
